package cn.bdqn.utils;

import java.util.Scanner;

public class Userlogin {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		System.out.print("请输入用户名：");
	
		String userName=input.next();
		System.out.println("请输入密码：");
		String password=input.next();
		if(password.length()<6) {
			System.out.println("密码长度不能超过六位数：");
		}
		else {
			if(userName.equalsIgnoreCase("kebi")&&password.equals("abc123")) {
				System.out.println("登录成功，欢迎kebi");
			}
			else {
				System.out.println("输入密码错误");
			}
		}

	}

}
